package org.gitos.cloud.domain.rpc;

import org.gitos.cloud.domain.server.Admin;

import java.sql.Date;

/***
 * Created by shizhengchu on 16/1/18.
 */
public interface BLoginRpc {
    Admin get(String username);

    void updateLastLoginState(Date datetTime, String ip);

    void updatePassword(String password);

    boolean isPasswordEqual(String username, String password);

}
